from pydantic import BaseModel, Field
import typing as T


class UserChatHistoryVO(BaseModel):
    id: int = Field(description="聊天记录id")
    sessionId: int = Field(description="会话id")
    isAi: bool = Field(description="是否是AI的回复")
    content: T.List[T.Dict[str, T.Any]] = Field(description="聊天记录的内容")
